/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <cstdio>

using namespace std;

int main_73()
{
    int T,a,b;
    scanf("%d",&T);
    while (--T)
    {
        scanf("%d%d",&a,&b);
        printf("%d\n\n",a+b);
    }
    scanf("%d%d",&a,&b);
    printf("%d\n",a+b);
    return 0;
}
